package com.xxxx.service;

import com.xxxx.pojo.HouseKeeper;
import com.xxxx.pojo.Type;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @Author Lionel
 * @Date 2021/3/8 22:22
 * Created by IntelliJ IDEA 2020.1.
 * Project: house
 * Description：首页Service
 */
public interface IndexService {
    List<Type> getAllType();

    List<Type> getAllSmallType(Integer type_id);

    List<HouseKeeper> getTopHousekeeper(int type);

    Integer getTypeID (String param);

    List<HouseKeeper> getRecommend (HttpSession session);
}
